﻿<%@ Page Title="Criar Perfil" Language="C#" MasterPageFile="~/masterpages/mpPadrao.master"
    AutoEventWireup="true" CodeBehind="PerfilCriar.aspx.cs" Inherits="OwnZTec.Web.conteudoseguro.Administracao.PerfilCriar" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoContent" runat="server">
    <span class="fontBold font14">Criar Perfil</span>
    <div id="divVoltar" onclick="window.location = 'PerfilListar.aspx'" title="Voltar"></div>
    <br />
    <br />
    <table cellpadding="0" border="0" cellspacing="0">
        <tr>
            <td width="100px" class="fontBold">
                Nome
            </td>
            <td width="200px">
                <asp:TextBox ID="txtNome" runat="server" Style="width: 195px;"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Favor entrar um nome de perfil."
                    ControlToValidate="txtNome" Text="*" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr class="trSpacadora">
            <td colspan="3">
            </td>
        </tr>
        <tr>
            <td class="fontBold">
                Descrição
            </td>
            <td>
                <asp:TextBox ID="txtDescricao" runat="server" Height="59px" TextMode="MultiLine"
                    Style="width: 195px;"></asp:TextBox>
            </td>
            <td>
            </td>
        </tr>
        <tr class="trSpacadora">
            <td colspan="3">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="cmdCriar" runat="server" Text="Criar" Style="float: right; margin-left: 1px;"
                    OnClick="CmdCriarClick" />
                <input id="cmdReset" type="button" value="Limpar" onclick="limpar();" style="float: right;
                    margin-left: 6px;" />
                <input id="cmdVoltar" type="button" value="Voltar" style="float: right;" onclick="window.location = 'PerfilListar.aspx';" />
                <script type="text/javascript" language="javascript">
                    function limpar() {
                        $("#<%=txtNome.ClientID %>").val('');
                        $("#<%=txtDescricao.ClientID %>").val('');
                    }
                </script>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="lblInfo" runat="server" Text="" CssClass="fontErro"></asp:Label>
    <asp:ValidationSummary ID="vsResultado" runat="server" ForeColor="Red" DisplayMode="BulletList" />
</asp:Content>
